/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exception;

/**
 *
 * @author griever
 */
public class DmsException {
    public String message;
    public int code;
    public int exception = 1;
    
    public DmsException(String message, int code)   {
        this.message = message;
        this.code = code;
    }
    
    public DmsException(String message) {
        this.message = message;
        this.code = 500;
    }
}
